#ifndef __UTILS_H
#define __UTILS_H

#include "string.h"
#include "stm32f10x.h"

int myatoi(const char *str);
int nbiot_atoi( const char *str, int size );
char* nbiot_strdup( const char *str, int size );
int nbiot_strlen( const char *str );
void *nbiot_malloc( size_t size );
void *nbiot_memmove( void *dst, const void *src, size_t size );
void hex_str_to_byte(char *hex_str, int length, unsigned char *result);

#endif

/*************************************END OF FILE******************************/
